home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / servers / netname_defs.h < prev    next >
C/C++ Source or Header  |  1990-03-10  |  1KB  |  53 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1987 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  * netname_defs.h
  9.  *
  10.  * $Source: /afs/cs.cmu.edu/project/mach/src/mach-working/etc/netmsgserver/server/RCS/netname_defs.h,v $
  11.  *
  12.  * $Header: netname_defs.h,v 1.6 88/07/28 14:22:03 mrt Exp $
  13.  *
  14.  */
  15.  
  16. /*
  17.  * Definitions for the mig interface to the network name service.
  18.  */
  19.  
  20. /*
  21.  * HISTORY:
  22.  * 28-Jul-88  Mary R. Thompson (mrt) at Carnegie Mellon
  23.  *    Copied definitions of NAME_NOT_YOURS and NAME_NOT_CHECKED_IN
  24.  *    from the old netname_defs.h so that old code would not break
  25.  *
  26.  *  8-Mar-88  Daniel Julin (dpj) at Carnegie-Mellon University
  27.  *    Added NETNAME_INVALID_PORT.
  28.  *
  29.  * 28-Feb-88  Daniel Julin (dpj) at Carnegie-Mellon University
  30.  *    Added NETNAME_PENDING.
  31.  *
  32.  * 23-Dec-86  Robert Sansom (rds) at Carnegie Mellon University
  33.  *    Copied from the previous version of the network server.
  34.  *
  35.  */
  36.  
  37. #ifndef    _NETNAME_DEFS_
  38. #define    _NETNAME_DEFS_
  39.  
  40. #define NETNAME_SUCCESS        (0)
  41. #define    NETNAME_PENDING        (-1)
  42. #define NETNAME_NOT_YOURS    (1000)
  43. #define NAME_NOT_YOURS        (1000)
  44. #define NETNAME_NOT_CHECKED_IN    (1001)
  45. #define NAME_NOT_CHECKED_IN    (1001)
  46. #define NETNAME_NO_SUCH_HOST    (1002)
  47. #define NETNAME_HOST_NOT_FOUND    (1003)
  48. #define    NETNAME_INVALID_PORT    (1004)
  49.  
  50. typedef char netname_name_t[80];
  51.  
  52. #endif NETNAME_DEFS_
  53.